package com.spdzen.service;

import java.util.List;

import com.spdzen.model.NewsCategory;
import com.spdzen.support.SimpleService;
import com.spdzen.support.result.ResultCode;
import com.spdzen.vo.NewsCategoryAdminVO;

/**
 * 服务类
 */
public interface NewsCategoryService extends SimpleService<NewsCategory> {

	void insertIfPermission(NewsCategory record) throws Exception;

	void updateIfPermission(NewsCategory record) throws Exception;

	ResultCode deleteIfPermision(Long id);

	NewsCategoryAdminVO selectOneAdminVO(Long id);

	List<NewsCategoryAdminVO> selectAdminVO();
	
}
